package items.consumables;

import items.Item;
import items.ItemType;
import items.SlotType;
import players.Player;

public class Bacon implements Consumable{
    private static Item me;

    public static synchronized Item getInstance() {
        if (me == null) {
            me = new Bacon();
        }
        return me;
    }

    @Override
    public String getTitle() {
        return "Bacon";
    }

    @Override
    public String getDescription() {
        return "Crispy, delicious bacon with juicy bits of bacon";
    }

    @Override
    public String getShortName() {
        return "Salted Pork Belly";
    }

    @Override
    public ItemType getItemType() {
        return ItemType.CONSUMABLE;
    }

    @Override
    public SlotType getSlotType() {
        return null;
    }

    @Override
    public String getDisplayName() {
        return getTitle() + "(" + getShortName() + ")";
    }

    @Override
    public int getAwesomenessModifier() {
        return 0;
    }

    @Override
    public int getHaxxorsModifier() {
        return 0;
    }

    @Override
    public int getMasteryModifier() {
        return 0;
    }

    @Override
    public int getConfuciusModifier() {
        return 0;
    }

    @Override
    public void useAction(Player player) {
        player.setHealthPoints(player.getHealthPoints() + 58);        
    }

    @Override
    public String getActionText() {
        return "You lather your face with the Bacon";
    }
}
